﻿//===================================================================================
// Copyright (c) Ryan Garrett.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===================================================================================

using System;

namespace Caffeine.Core.Test.TestModel.PropertyRegistrations
{
    public class ModelForRegistrationFailureK : ModelBase
    {
        public ModelForRegistrationFailureK()
        {
            ModelProperty<Int32> someNotNullProperty = RegisterProperty<Int32>("SomeNotNullProperty");
            RegisterComputedProperty<Int32, Int32>("ComputedModelProperty", null, someNotNullProperty);
        }
    }
}
